home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
puppy_red.swf
/
scripts
/
DefineSprite_350
/
frame_22
/
PlaceObject2_345_60
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2008-03-11
|
584b
|
27 lines
onClipEvent(enterFrame){
if(!_global.betting)
{
if(getTimer() - timer1 >= 5000 && !this._visible)
{
this._visible = 1;
timer2 = getTimer();
}
if(this._visible)
{
if(getTimer() - timer2 >= 1000)
{
if(this._currentframe < 6)
{
this.nextFrame();
timer2 = getTimer();
}
else
{
_global.betting = 1;
_parent.gotoAndPlay("timeOut");
}
}
}
}
}